[Previous] [Next] [Index]
[Thread]
Re: Source-routed URLs
> There are two constructs. The one used by HTTP seems to be merely to
> prepend the protocol and host part of each hop's URL to the front of
> the destination URL. Each hop receives the stacked URLs and strips
> off its part of the address, passing on the remaining part of the
> URL, until a hop realizes that the destination file is local.
> An example of going through a relay to the document on a real system:
> http://relay.sys.org/http://real.sys.org/document.htm
Actually, this doesn't work.
http://relay.sys.org/http://real.sys.org/document.htm
is defined to mean:
open a connection to relay.sys.org, port 80
send
GET /http://real.sys.org/document.htm HTTP/1.0
Accept: ...
Note the initial /. There is no way to write a URL that will cause
your client to send something that doesn't start with /.